package com.zmn.uac.dubbo;

import com.zmn.framework.web.config.FastJsonHttpMessageConverterConfiguration;
import org.apache.dubbo.config.spring.context.annotation.DubboComponentScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.data.mongo.MongoDataAutoConfiguration;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.Import;

/**
 * @author quanjic
 * @version v1.0
 * @since 2020/4/23 10:26
 **/
@DubboComponentScan(basePackages = "com.zmn.uac.dubbo.impl")
@SpringBootApplication(scanBasePackages = {"com.zmn.uac"}, exclude = {DataSourceAutoConfiguration.class, MongoDataAutoConfiguration.class})
@Import({FastJsonHttpMessageConverterConfiguration.class})
public class ZmnUacDubboApplication {
    public static void main(String[] args) {
        SpringApplication.run(ZmnUacDubboApplication.class, args);
    }
}
